package com.s3.khospitalds.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.s3.khospitalds.entity.Stockremoval;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @Author: xw
 * @CreateTime: 2025/3/3
 * @Description: 药库配送表
 * @Version: 1.0
 */
@Mapper
@Repository
public interface StockremovalMapper extends BaseMapper<Stockremoval> {
    @Update("UPDATE `stockremoval` SET outOfTime=#{time}  WHERE id=#{id}")
    public int updateOutOfTime(@Param("time") String outOfTime,@Param("id") int id);
}
